projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d388a
)
gnomeos-run: Put current symlink in correct place
author
Colin Walters
<walters@verbum.org>
Thu, 12 Jan 2012 03:54:35 +0000
(22:54 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 12 Jan 2012 03:54:35 +0000
(22:54 -0500)
gnomeos/yocto/gnomeos-run.sh
patch
|
blob
|
history
diff --git
a/gnomeos/yocto/gnomeos-run.sh
b/gnomeos/yocto/gnomeos-run.sh
index e7f91a14da9063a5376b00722b34264ed61b3727..2ff42515b43499e3dd7da6df59755f746390134d 100755
(executable)
--- a/
gnomeos/yocto/gnomeos-run.sh
+++ b/
gnomeos/yocto/gnomeos-run.sh
@@
-81,7
+81,8
@@
for branch in runtime devel; do
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then
ostree --repo=repo checkout ${rev} ${BRANCH_PREFIX}${branch}-${rev}
fi
- ln -sf ${BRANCH_PREFIX}${branch}-${rev} ${BRANCH_PREFIX}${branch}-current
+ rm -f ${BRANCH_PREFIX}${branch}-current
+ ln -s ${BRANCH_PREFIX}${branch}-${rev} ${BRANCH_PREFIX}${branch}-current
done
cd ..
@@
-90,6
+91,7
@@
cp -a ./ostree/${BRANCH_PREFIX}${branch}-current/usr/sbin/ostree-init .
cd ${WORKDIR}
+sync
umount fs
rmdir fs